@extends('front.layout')
@section('title','专家详情页')
@section('head')
    <div class="nav">
        <ul class="nav_body">
            <li><a id="1"  href="/">首页</a></li>
            <li><a id="2" href="/conf">名家讲堂</a></li>
            <li><a id="3" class="current" href="/expert">名家风采</a></li>
            <li><a id="4" href="/review">往期视频</a></li>
        </ul>
        <input type="hidden" id="current_route" value="expert"></input>
    </div>
@endsection
@section('content')
<div class="main">
    <div class="export_info">
        <div class="export_this">
            <div class="title_box">本期嘉宾</div>
            <div class="export_this_body clearfix">
                <div class="left_export"><img src="{{$expert->thumb}}" /></div>
                <div class="right_export">
                    <div class="export_base">
                        <p class="name">{{$expert->name}}</p>
                        <p><b>科室：</b>{{$expert->department}}</p>
                        <p><b>职称：</b>{{$expert->job_name}}</p>
                    </div>
                    <div class="export_this_intro">
                        <p><p><span style="color: rgb(85, 85, 85); font-family: 微软雅黑; background-color: rgb(255, 255, 255);">{{$expert->introduction}}</span></p></p>
                        <div class="export_edu clearfix">
                            <div class="edu_title">接受教育：</div>
                            <div class="edu_info">
                                <p><p>{{$expert->education}}</p></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        @if(isset($expert->lecture[0]))
        <div class="this_intro">
            <div class="title_box">本期简介</div>
            <div class="this_intro_body">
                <p class="te_2">{{$expert->lecture[0]->content}}</p>
            </div>
        </div>
        <div class="other_export">
            <div class="title_box">其他专家</div>
            @foreach($expert->lecture[0]->lecture as $v)
            @if($v->id!=$expert->id)
            <div class="export_list clearfix">
                <div class="export_ship">
                    <div class="export_ship_img">
                        <a href="/expert/expert-info/{{$v->id}}"><img src="{{$v->thumb}}" /></a>
                    </div>

                    <div class="export_ship_txt">
                        <p>专家：{{$v->name}}</p>
                        <p>职位：{{$v->position}}</p>
                        <p>科室：{{$v->department}}</p>
                        <p>医院：{{$v->hospital}}</p>
                    </div>
                </div>
            </div>
            @endif
            @endforeach
        </div>
        @endif
    </div>
</div>
    </div>
</div>

@endsection
